package com.ykj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author Y2014188432
 * @since 2022-05-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 帖子id
     */
    @TableField("postsId")
    private String postsid;

    /**
     * 用户id
     */
    @TableField("userId")
    private String userid;

    /**
     * 内容
     */
    private String content;

    @TableField("create_time")
    private String createTime;

}
